package com.wj.core.common.util;

/**
 * @author: wangjun
 * @create: 2018-06-04 
 **/
public class EnvironmentUtil {

  public static final String ZK_SERVICE_PATH = "/wj-rpc";

  public static final String ZK_CONFIG_FILE_PATH = "/config/wj-config.properties";

  public static final String ZK_ADDRESS_KEY = "ZK_ADDRESS";

  public static final String ZK_ADDRESS;

  static {
    ZK_ADDRESS = PropertiesUtil.getPropertiesByKey(PropertiesUtil.resourcePath + ZK_CONFIG_FILE_PATH, ZK_ADDRESS_KEY);
  }
}
